import http from "@/api";
import { PORT3 } from "@/api/config/servicePort";
import { Login } from "@/api/interface/index";

// 用户登录
export const loginApi = (params: Login.ReqLoginForm) => {
  return http.post<Login.ResLogin>(PORT3 + `/admin/employee/login`, params, { noLoading: true }); // 正常 post json 请求  ==>  application/json
};
